// ECGViewOCXPpg.cpp : Implementation of the CECGViewOCXPropPage property page class.

#include "stdafx.h"
#include "ECGViewOCX.h"
#include "ECGViewOCXPpg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


IMPLEMENT_DYNCREATE(CECGViewOCXPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CECGViewOCXPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CECGViewOCXPropPage)
	// NOTE - ClassWizard will add and remove message map entries
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CECGViewOCXPropPage, "ECGVIEWOCX.ECGViewOCXPropPage.1",
	0x5ec108d3, 0xea03, 0x41c9, 0xa8, 0x76, 0xcc, 0x4, 0xdd, 0x8, 0x12, 0x33)


/////////////////////////////////////////////////////////////////////////////
// CECGViewOCXPropPage::CECGViewOCXPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CECGViewOCXPropPage

BOOL CECGViewOCXPropPage::CECGViewOCXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_ECGVIEWOCX_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CECGViewOCXPropPage::CECGViewOCXPropPage - Constructor

CECGViewOCXPropPage::CECGViewOCXPropPage() :
	COlePropertyPage(IDD, IDS_ECGVIEWOCX_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CECGViewOCXPropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CECGViewOCXPropPage::DoDataExchange - Moves data between page and properties

void CECGViewOCXPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CECGViewOCXPropPage)
	// NOTE: ClassWizard will add DDP, DDX, and DDV calls here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_MAP
	DDP_PostProcessing(pDX);
}


/////////////////////////////////////////////////////////////////////////////
// CECGViewOCXPropPage message handlers
